@layout('layouts.panel')

@section('panel-content')
@id('admin.site')
<div class="panel-head">
    <h1>Cấu hình website</h1>
</div>
<div class="panel-content" id="site-settings">
    <div class="info-group-box">
        <ul class="info">
            @foreach ($settings as $s)
            <li class="info-item setting">
                <span class="label">{{ $s->description }}</span>
                <span class="value" data-key="{{ $s->s_key }}">
                    <span>{{ $s->value }}</span>
                    <a href="{{ action('admin.site@setting') }}" title="cập nhật"
                       class="control">
                        <i class="icon-edit"></i>
                    </a>
                </span>
            </li>
            @endforeach
        </ul>
    </div>

    <div class="hidden" id="edit-template">
        <input type="text">
        <button type="button" class="btn submit"><i class="icon-ok"></i></button>
        <button type="button" class="btn cancel"><i class="icon-remove"></i></button>
        <img class="loading" src="{{ asset('img/loading-88x8.gif') }}" alt="">
    </div>
</div>
@endsection